package com.hitqz.robot.api.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author wengyx
 * @date 2024/8/7
 * 检测设备
 */
@TableName(value = "robot_equipment")
@Data
public class RobotEquipment {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @NotNull(message = "设备类型不能为空")
    private Integer type;
    @NotBlank(message = "设备品牌不能为空")
    private String brand;
    private String name;
    private String ip;
    private String username;
    private String password;
    private Integer port;
    private Integer isPlay;
    private String playUrl;
    private Integer showPanel;
    private Integer isDetect;
    private Integer isRecordParam;
    private Integer channel;

    private String extraConfig;

    private Integer bindPosId;

    private String bindPosName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }


    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Integer getIsPlay() {
        return isPlay;
    }

    public void setIsPlay(Integer isPlay) {
        this.isPlay = isPlay;
    }

    public String getPlayUrl() {
        return playUrl;
    }

    public void setPlayUrl(String playUrl) {
        this.playUrl = playUrl;
    }

    public Integer getShowPanel() {
        return showPanel;
    }

    public void setShowPanel(Integer showPanel) {
        this.showPanel = showPanel;
    }

    public Integer getIsDetect() {
        return isDetect;
    }

    public void setIsDetect(Integer isDetect) {
        this.isDetect = isDetect;
    }

    public Integer getIsRecordParam() {
        return isRecordParam;
    }

    public void setIsRecordParam(Integer isRecordParam) {
        this.isRecordParam = isRecordParam;
    }

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public String getExtraConfig() {
        return extraConfig;
    }

    public void setExtraConfig(String extraConfig) {
        this.extraConfig = extraConfig;
    }

    public Integer getBindPosId() {
        return bindPosId;
    }

    public void setBindPosId(Integer bindPosId) {
        this.bindPosId = bindPosId;
    }

    public String getBindPosName() {
        return bindPosName;
    }

    public void setBindPosName(String bindPosName) {
        this.bindPosName = bindPosName;
    }
}
